﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SurehealthForms.CashierLogin
{
    class perscriptionItem
    {
        private string m_Quantity;

        public string Quantity
        {
            get { return m_Quantity; }
            set { m_Quantity = value; }
        }
        private string m_Item;

        public string Item
        {
            get { return m_Item; }
            set { m_Item = value; }
        }
        private string m_Description;

        public string Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }

        private string m_ItemNumber;

        public string ItemNumber
        {
            get { return m_ItemNumber; }
            set { m_ItemNumber = value; }
        }

        private string m_ItemIndex;

        public string ItemIndex
        {
            get { return m_ItemIndex; }
            set { m_ItemIndex = value; }
        }

        /// <summary>
        /// create an Item in an order
        /// </summary>
        /// <param name="pItemNumber">which item is in the order</param>
        /// <param name="pQuantity">Quantity of item</param>
        /// <param name="pItem">The item</param>
        /// <param name="pDescription">Notes for the patient</param>
        public perscriptionItem(string pItemNumber, string pItemIndex, string pQuantity, string pItem,string pDescription)
        {
            m_ItemNumber = pItemNumber;
            m_ItemIndex = pItemIndex;
            m_Quantity = pQuantity;
            m_Item=pItem;
            m_Description=pDescription;
        }

        public perscriptionItem(string pItemNumber, string pQuantity, string pItem, string pDescription)
        {
            m_ItemNumber = pItemNumber;
            m_Quantity = pQuantity;
            m_Item = pItem;
            m_Description = pDescription;
        }

        public perscriptionItem()
        {
        }
    }
}
